repo: Provide a friendlier error message if no signatures are found
authorColin Walters <walters@verbum.org>
Wed, 18 Dec 2013 04:00:01 +0000 (23:00 -0500)
committerColin Walters <walters@verbum.org>
Wed, 18 Dec 2013 04:00:01 +0000 (23:00 -0500)
I always forget the key to disable it...

src/libostree/ostree-repo.c

index 956b31a70b8b1f47e1b0739c2409230e8663c00c..20b4d0988d485e0a7244c2e775ab22285fad5601 100644 (file)
@@ -1718,7 +1718,7 @@ ostree_repo_verify_commit (OstreeRepo   *self,
   if (!signaturedata)
     {
       g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND,
-                   "No signatures found");
+                   "GPG verification enabled, but no signatures found (use gpg-verify=false in remote config to disable)");
       goto out;
     }